package com.yq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * @author zxn
 * @date 2020-03-16
 * @description 
 */
public class Communitye extends Model<Communitye> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String commnuityname;

    private String msg;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCommnuityname() {
        return commnuityname;
    }

    public void setCommnuityname(String commnuityname) {
        this.commnuityname = commnuityname;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static final String ID = "id";

    public static final String COMMNUITYNAME = "commnuityname";

    public static final String MSG = "msg";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Communitye{" +
        "id=" + id +
        ", commnuityname=" + commnuityname +
        ", msg=" + msg +
        "}";
    }
}
